﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="/favicon.ico">
    <link rel="Shortcut Icon" href="/favicon.ico" />
    <script src="lib/jquery/1.9.1/jquery.min.js"></script>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <script type="text/javascript" src="lib/PIE_IE678.js"></script>
    <![endif]-->
    <script src="static/WebApi.js"></script>


    <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.7/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="lib/icheck/icheck.css" />
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="lib/lightbox2/2.8.1/css/lightbox.css">

    <title></title>

</head>
<body>
    <nav class="breadcrumb">
        <i class="Hui-iconfont">&#xe67f;</i> 首页
        <span class="c-gray en">&gt;</span> 估价列表
        <span class="c-gray en">&gt;</span> 勘查信息
        <span class="c-gray en">&gt;</span><span id="P_ReportNumber1" class="P_ReportNumber1"></span>
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
    </nav>
    <div class="page-container">

        <form action='"+ApiUrl+" + api/SitePicture/AddSitePicture' method="post" enctype="multipart/form-data" class="form form-horizontal" id="form-article-add">
            <div id="tab-Base" class="HuiTab">
                <div class="tabBar cl">
                    <span>基本信息</span>
                    <span>权属信息</span>
                    <span>勘察信息</span>
                    <span>估价信息</span>
                </div>
                <!--基本信息-->
                <div class="tabCon">
                    <!--详细信息-->
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">房产抵押报告号：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_ReportNumber" name="T_ReportNumber" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">看房联系人：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Linkman" name="T_Linkman" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">看房联系人电话：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Phone" name="T_Phone" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">贷款年限：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Loanyear" name="T_Loanyear" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">贷款额度：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Loanlimit" name="T_Loanlimit" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">实际交易价：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Actual" name="T_Actual" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">房屋坐落：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Located" name="T_Located" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">房屋用途：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_PurposeID" name="T_PurposeID" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">建成年代：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Activate" name="T_Activate" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">报告类型：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_ReportID" name="T_ReportID" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">评估受理：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Assess" name="T_Assess" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">现场勘查所属部门：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_DepartmentID" name="T_DepartmentID" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">现场勘查人员：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_SiteSurveyid" name="T_SiteSurveyid" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">登记员：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Iid" name="T_Iid" disabled>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">时间：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" id="T_Date" name="T_Date" disabled>
                        </div>
                    </div>

                </div>
                <!--权属信息-->
                <div class="tabCon">
                    <div class="mt-20">
                        <div class="col-xs-6 col-sm-5">
                            <table class="table table-border table-bordered table-bg" id="MyQuanShu">
                                <thead>
                                    <tr>
                                        <th>名称</th>
                                        <th>编号</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>
                                            房屋所有权证
                                        </td>
                                        <td>
                                            京房权证海私移字第0037145号
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            买卖合同
                                        </td>
                                        <td>
                                            编号第0037145号
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="col-xs-6 col-sm-6">
                            <table class="table table-border table-bordered table-bg" id="MyQuanShuMx">
                                <thead>
                                    <tr>
                                        <th>名称</th>
                                        <th>值</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>
                                            房屋产别
                                        </td>
                                        <td>
                                            私有产
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            产权人
                                        </td>
                                        <td>
                                            林勒戒
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            来源属性
                                        </td>
                                        <td>
                                            产品房
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            建筑面积
                                        </td>
                                        <td>
                                            191.25㎡
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            使用面积
                                        </td>
                                        <td>

                                            181.25㎡
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            证载用途
                                        </td>
                                        <td>
                                            住宅

                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            房屋登记表
                                        </td>
                                        <td>
                                            有

                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            公有情况
                                        </td>
                                        <td>
                                            单独占有

                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            共有份额
                                        </td>
                                        <td>
                                            100%

                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            可选-补交地价款系数
                                        </td>
                                        <td>
                                            10%

                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            是否为新房本
                                        </td>
                                        <td>
                                            否

                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <!--勘察信息-->
                <div class="tabCon">
                    <div id="myTab" class="HuiTab" style="padding-top:10px;">
                        <div class="tabBar cl">
                            <span>抵押物区位状况</span>
                            <span>小区状况</span>
                            <span>建筑公共部位状况</span>
                            <span>户内部分</span>
                            <span>现场照片要求</span>
                            <span>询价记录</span>
                        </div>
                        <!--抵押物区位状况的信息显示-->
                        <div class="tabCon" id="Zone">
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>小区四至-东至：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" value="" placeholder="请输入小区四至-东至" id="T_Master" name="T_Master">
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>小区四至-南至：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" value="" placeholder="请输入小区四至-南至" id="T_South" name="T_South">
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>小区四至-西至：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" value="" placeholder="请输入小区四至-西至" id="T_Western" name="T_Western">
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>小区四至-北至：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" value="" placeholder="请输入小区四至-北至" id="T_North" name="T_North">
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>位置环绕：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_SurroundID" id="T_SurroundID" class="select">
                                            <option value="0">二环内（东南西北）</option>
                                            <option value="1">2-3环</option>
                                            <option value="11">3-4环</option>
                                            <option value="12">4-5环</option>
                                            <option value="13">5-6环</option>
                                            <option value="14">6环外</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>交通情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" value="" placeholder="请输入交通情况" id="T_Traffic" name="T_Traffic" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>交通便捷度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_TrafficID" id="T_TrafficID" class="select">
                                            <option value="0">便捷</option>
                                            <option value="1">比较便捷</option>
                                            <option value="11">一般</option>
                                            <option value="12">不便</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>自然人文环境情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" placeholder="请输入自然人文环境情况" id="T_Nature" name="T_Nature" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>自然人文环境质量：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select class="select" id="T_NatureID" name="T_NatureID">
                                            <option value="0">优良</option>
                                            <option value="1">良</option>
                                            <option value="2">一般</option>
                                            <option value="2">较差</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">居住社区成情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" value="" placeholder="请输入居住社区成情况" id="T_Dwelling" name="T_Dwelling" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">居住社区成熟度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_DwellingID" id="T_DwellingID" class="select">
                                            <option value="0">已建成社区，入住情况良好。</option>
                                            <option value="1">社区成熟度一般，入住率</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">基础设施配套情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" placeholder="请输入基础设施配套情况" id="T_Infrastructure" name="T_Infrastructure" />

                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">基础设施配套度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_InfrastructureID" id="T_InfrastructureID" class="select">
                                            <option value="0">七通一平</option>
                                            <option value="1">五通一平</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">配套设施：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_SupportingID" id="T_SupportingID" class="select">
                                            <option value="0">居住社区规模大，内部配套齐全</option>
                                            <option value="1">内部纯居住社区，利用周围配套设施</option>
                                            <option value="2">内部设施缺乏，周边配套设施较少</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">有关说明：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <textarea name="T_Explain" id="T_Explain" cols="" rows="" class="textarea" placeholder="说点什么...最少输入10个字符" datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！" onkeyup="textarealength(this,200)"></textarea>
                                </div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-12 col-sm-12">
                                    <button class="btn btn-success col-xs-offset-5 col-sm-offset-5" onclick="insertZone()" type="button">保存</button>
                                </div>
                            </div>
                        </div>
                        <!--小区状况-->
                        <div class="tabCon" id="Community">
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>项目案名：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" value="" placeholder="请输入项目案名" id="T_Project" name="T_Project" class="input-text" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>来源：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_SourceID" class="select" id="T_SourceID">
                                            <option value="0">证载</option>
                                            <option value="1">现场调查</option>
                                            <option value="1">物业证明</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <!--<div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>来源说明：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" id="C_source" name="C_source" class="input-text" value="" placeholder="请输入来源说明" />
                                </div>
                            </div>-->
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>小区封闭性：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_CloseID" id="T_CloseID" class="select">
                                            <option value="0">封闭居住区</option>
                                            <option value="1">开放式社区</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>居住小区楼宇结构：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_BuildingID" id="T_BuildingID" class="select">
                                            <option value="0">高层居住小区</option>
                                            <option value="1">多层住宅小区</option>
                                            <option value="2">高层与多层混合小区</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>交通组织方式：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_TrafficID" id="T_TrafficID" class="select">
                                            <option value="0">人车分流</option>
                                            <option value="1">人车共存</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>景观及绿化：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_AfforestID" id="T_AfforestID" class="select">
                                            <option value="0">毗邻 景区，景观良好</option>
                                            <option value="1">有规划的绿化</option>
                                            <option value="2">零星绿</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>容积率：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_VolumeID" id="T_VolumeID" class="select">
                                            <option value="0">容积率大于1</option>
                                            <option value="1">容积率小于1</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>车位状况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_StallID" id="T_StallID" class="select">
                                            <option value="0">专用停车位，地下车库</option>
                                            <option value="1">地上车位，车位充足</option>
                                            <option value="2">楼间停车，车位较紧张</option>
                                            <option value="3">停车混乱，缺乏管理</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>物业公司：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_PropertyID" id="T_PropertyID" class="select">
                                            <option value="0">专业物业公司管理</option>
                                            <option value="1">无专业物业公司管理</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">其他：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <textarea name="T_Else" id="T_Else" class="textarea" placeholder="说点什么...最少输入10个字符" datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！" onkeyup="textarealength(this,200)"></textarea>
                                </div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-12 col-sm-12">
                                    <button class="btn btn-success col-xs-offset-5 col-sm-offset-5" type="button" onclick="insertCommunity()">保存</button>
                                </div>
                            </div>
                        </div>
                        <!--建筑公共部位-->
                        <div class="tabCon" id="Facility">
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>哪栋楼：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <input type="text" value="" placeholder="如3号楼" id="T_Project" name="T_Project" class="input-text" />
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>定位坐标：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" id="T_Location" name="T_Location" class="input-text" placeholder="如116.403119,39.914935" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>定位地址：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" id="T_LocationAddress" name="T_LocationAddress" class="input-text" placeholder="如北京市昌平区回龙观东大街辅路" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>房屋结构：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_StructureID" id="T_StructureID" class="select">
                                            <option value="0">钢筋混凝土</option>
                                            <option value="1">砖混结构</option>
                                            <option value="2">混合结构</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>建筑类型：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_TypesID" id="T_TypesID" class="select">
                                            <option value="0">高板</option>
                                            <option value="1">告他</option>
                                            <option value="2">塔板结合</option>
                                            <option value="3">多层</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>外立面装饰：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_FacadeID" id="T_FacadeID" class="select">
                                            <option value="0">清水砖墙</option>
                                            <option value="1">石材</option>
                                            <option value="3">涂料</option>
                                            <option value="4">局部石材，局部涂料</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>公共部位装饰：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_CommonalityID" id="T_CommonalityID" class="select">
                                            <option value="0">普通装修（水泥地面，墙面涂料，普通照明）</option>
                                            <option value="1">豪华装修（墙面地面石材，不锈钢扶手）</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>电梯：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_ElevatorID" id="T_ElevatorID" class="select">
                                            <option value="0">无电梯</option>
                                            <option value="1">有电梯  部</option>
                                            <option value="1">每层   户</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>供气：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_SupplyID" class="select" id="T_SupplyID">
                                            <option value="0">管道燃气入户</option>
                                            <option value="1">无管道燃气</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>供水：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_WaterID" class="select" id="T_WaterID">
                                            <option value="0">市政供水</option>
                                            <option value="1">无市政供水</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>供暖：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_HeatingID" class="select" id="T_HeatingID">
                                            <option value="0">集中供暖</option>
                                            <option value="1">分户采暖</option>
                                            <option value="2">无供暖设计</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>门禁系统：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_EntranceID" class="select" id="T_EntranceID">
                                            <option value="0">有</option>
                                            <option value="1">无</option>>
                                        </select>
                                    </span>
                                </div>
                            </div>

                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">其他：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <textarea name="T_Else" id="T_Else" class="textarea" placeholder="说点什么...最少输入10个字符" datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！" onkeyup="textarealength(this,200)"></textarea>

                                </div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-12 col-sm-12">
                                    <button class="btn btn-success col-xs-offset-5 col-sm-offset-5" type="button" onclick="insertFacility()">提交</button>
                                </div>
                            </div>
                        </div>
                        <!--户内部分-->
                        <div class="tabCon" id="Indoor">
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>房屋实际用途：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_purposeID" class="select" id="T_purposeID">
                                            <option value="1">居住</option>
                                            <option value="2">租用</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                          
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>总楼层：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" id="T_Floor" name="T_Floor" class="input-text" placeholder="请输入总楼层" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>所在楼层：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" id="T_Storey" name="T_Storey" class="input-text" placeholder="请输入所在楼层" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>朝向：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_OrientationID" class="select" id="T_OrientationID">
                                            <option value="0">东</option>
                                            <option value="1">南</option>
                                            <option value="2">西</option>
                                            <option value="3">北</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>住宅类型：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_ResidenceID" class="select" id="T_ResidenceID">
                                            <option value="0">平层</option>
                                            <option value="1">复试</option>
                                            <option value="2">跃层</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>户型：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" id="T_SeveralBedroom" class="input-text" style="display:inline;width:10%;" />室
                                    <input type="text" id="T_Severaldrawing" class="input-text" style="display:inline;width:10%" />厅
                                    <input type="text" id="T_Severalbathroom" class="input-text" style="display:inline;width:10%" />卫
                                    <input type="text" id="T_SeveralKITCHEN" class="input-text" style="display:inline;width:10%" />厨
                                    <input type="text" id="T_Severalbalcony" class="input-text" style="display:inline;width:10%" />阳台
                                    <input type="text" id="T_SeveralTerrace" class="input-text" style="display:inline;width:10%" />露台
                                    <input type="text" id="T_SeveralSmall" class="input-text" style="display:inline;width:10%" />小院
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>客厅装修情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" id="T_Roomdescribe" name="T_Roomdescribe" value="" placeholder="请输入客厅装修情况" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>客厅装修程度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_DrawingID" class="select" id="T_DrawingID">
                                            <option value="0">无</option>
                                            <option value="1">毛坯</option>
                                            <option value="2">普通装修</option>
                                            <option value="3">精装修</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>居室装修情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" id="T_Habitable" name="T_Habitable" value="" placeholder="请输入居室装修情况" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>居室装修程度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_HabitableID" class="select" id="T_HabitableID">
                                            <option value="1">毛坯</option>
                                            <option value="2">普通装修</option>
                                            <option value="3">精装修</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>卫生间装修情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" id="T_Toilet" name="T_Toilet" value="" placeholder="请输入卫生间装修情况" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>卫生间装修程度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_ToiletID" class="select" id="T_ToiletID">
                                            <option value="1">毛坯</option>
                                            <option value="2">普通装修</option>
                                            <option value="3">精装修</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>厨房装修情况：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <input type="text" class="input-text" id="T_Kitchen" name="T_Kitchen" value="" placeholder="请输入厨房装修情况" />
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>厨房装修程度：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <span class="select-box">
                                        <select name="T_KitchenID" class="select" id="T_KitchenID">
                                            <option value="1">毛坯</option>
                                            <option value="2">普通装修</option>
                                            <option value="3">精装修</option>
                                        </select>
                                    </span>
                                </div>
                            </div>
                            <div class="row cl">
                                <label class="form-label col-xs-4 col-sm-2">有关说明：</label>
                                <div class="formControls col-xs-8 col-sm-9">
                                    <textarea name="" id="T_Explain" class="textarea" placeholder="说点什么...最少输入10个字符" datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！" onkeyup="textarealength(this,200)"></textarea>

                                </div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-12 col-sm-12">
                                    <button class="btn btn-success col-xs-offset-5 col-sm-offset-5" type="button" onclick="insertIndoor()">保存</button>
                                </div>
                            </div>
                        </div>
                        <!--图片上传-->
                        <div class="tabCon" id="SitePicture">
                            <ul class="cl portfolio-area">
                                <!--小区外部环境-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="1" onchange="add(this,1)" style="display:none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(1).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview1"></div>
                                        <div class="textbox">小区外部环境 </div>
                                        <div id="result"></div>
                                    </div>
                                </li>
                                <!--小区门前道路-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="2" onchange="add(this,2)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(2).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview2"></div>
                                        <div class="textbox">小区门前道路 </div>
                                    </div>
                                </li>
                                <!--小区入口-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="3" onchange="add(this,3)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(3).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview3"></div>                                        <div class="textbox">小区入口 </div>
                                    </div>
                                </li>
                                <!--小区绿化-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="4" onchange="add(this,4)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(4).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview4"></div>                                        <div class="textbox">小区绿化 </div>
                                    </div>
                                </li>
                                <!--小区内部环境-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="5" onchange="add(this,5)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(5).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview5"></div>                                        <div class="textbox">小区内部环境 </div>
                                    </div>
                                </li>
                                <!--物业地址（建筑楼牌）-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="6" onchange="add(this,6)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(6).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview6"></div>                                        <div class="textbox">物业地址（建筑楼牌） </div>
                                    </div>
                                </li>
                                <!--建筑外观-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="7" onchange="add(this,7)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(7).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview7"></div>                                        <div class="textbox">建筑外观 </div>
                                    </div>
                                </li>
                                <!--单元门-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="8" onchange="add(this,8)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(8).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview8"></div>                                        <div class="textbox">单元门 </div>
                                    </div>
                                </li>
                                <!--楼梯间-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="9" onchange="add(this,9)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(9).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview9"></div>                                        <div class="textbox">楼梯间 </div>
                                    </div>
                                </li>
                                <!--入户门-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="10" onchange="add(this,10)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(10).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview10"></div>                                        <div class="textbox">入户门 </div>
                                    </div>
                                </li>
                                <!--居室（不少于三张）-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="11" onchange="add(this,11)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(11).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview11"></div>                                        <div class="textbox">居室（不少于三张） </div>
                                    </div>
                                </li>
                                <!--卧室-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="12" onchange="add(this,12)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(12).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview12"></div>                                        <div class="textbox">卧室 </div>
                                    </div>
                                </li>
                                <!--客厅-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="13" onchange="add(this,13)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(13).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview13"></div>                                        <div class="textbox">客厅 </div>
                                    </div>
                                </li>
                                <!--厨房-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="14" onchange="add(this,14)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(14).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview14"></div>                                        <div class="textbox">厨房 </div>
                                    </div>
                                </li>
                                <!--卫生间-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="15" onchange="add(this,15)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(15).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview15"></div>                                        <div class="textbox">卫生间 </div>
                                    </div>
                                </li>
                                <!--阳台-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="16" onchange="add(this,16)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(16).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview16"></div>                                        <div class="textbox">阳台 </div>
                                    </div>
                                </li>
                                <!--窗外景观-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="17" onchange="add(this,17)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(17).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview17"></div>                                        <div class="textbox">窗外景观 </div>
                                    </div>
                                </li>
                                <!--估价人员在现场（至少两张）-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="18" onchange="add(this,18)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(18).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview18"></div>                                        <div class="textbox">估价人员在现场（至少两张） </div>
                                    </div>
                                </li>
                                <!--电梯间-->
                                <li class="item">
                                    <div class="portfoliobox">
                                        <input type="file" name="Images" id="19" onchange="add(this,19)" style="display: none" />
                                        <input class="btn btn-block" name="" onclick="document.getElementById(19).click();" type="button" value="点击上传" title="点击替换图片">
                                        <div id="preview19"></div>     <div class="textbox">电梯间 </div>
                                    </div>
                                </li>
                            </ul>
                            <input type="button" class="btn btn-success" onclick="Fileup()" style="width:100%" value="上传" />
                        </div>
                        <!--询价记录-->
                        <div class="tabCon" id="enquiryrecord">
                            <table class="table table-border table-bordered table-bg">
                                <thead>
                                    <tr>
                                        <th width="100">建议评估单价:</th>
                                        <td id="P_proposal">32512㎡</td>
                                        <th width="120">勘查日期时间: </th>
                                        <td id="t_date" width="120">2016/1/1</td>
                                    </tr>
                                    <tr>
                                        <th scope="col" colspan="4"><i class="Hui-iconfont">&#xe667;</i> 询价记录:</th>
                                    </tr>
                                    <tr class="text-c">
                                        <th>编号</th>
                                        <th colspan="2">询价内容</th>
                                        <th>询价时间</th>
                                    </tr>
                                </thead>
                                <tbody id="tbodys">
                                    <tr class="text-c">
                                        <td>1</td>
                                        <td colspan="2">询问的小区邻居</td>
                                        <td>2016/01/05/10:20</td>
                                    </tr>
                                    <tr class="text-c">
                                        <td>2</td>
                                        <td colspan="2">询问的中介</td>
                                        <td>2016/01/05/10:20</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <!--估价信息-->
                <div class="tabCon">
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>估价目的：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <span class="select-box">
                                <select name="" class="select">
                                    <option value="0">买卖</option>
                                    <option value="1">抵押</option>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>估价师：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="hidden" class="input-text" />
                            <span class="l"><a href="javascript:;" onclick="admin_Show('询价师列表', 'look-enquiry.html')" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe665;</i> 选择估价员</a></span>
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>起始日期：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'datemin\')}',maxDate:'%y-%M-%d'})" id="datemax" class="input-text Wdate" style="width:120px;">
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>结束日期：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}'})" id="datemin" class="input-text Wdate" style="width:120px;">
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>估价时点：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'datemin\')}',maxDate:'%y-%M-%d'})" id="datemax" class="input-text Wdate" style="width:120px;">
                        </div>
                    </div>
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>估价单价：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" />
                        </div>
                    </div>
                    <div class="row cl">
                        <div class="formControls col-xs-12 col-sm-12">
                            <button class="btn btn-success  col-xs-offset-5" style="height:25px; width:40px;" type="button">提交</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <!--基本js脚本-->
    <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="lib/layer/2.1/layer.js"></script>
    <script type="text/javascript" src="lib/icheck/jquery.icheck.min.js"></script>
    <script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
    <script type="text/javascript" src="lib/jquery.validation/1.14.0/validate-methods.js"></script>
    <script type="text/javascript" src="lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
    <script type="text/javascript" src="lib/lightbox2/2.8.1/js/lightbox-plus-jquery.min.js"></script>
    <script type="text/javascript" src="static/h-ui/js/H-ui.js"></script>
    <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
    <!--扩展js脚本-->
    <script type="text/javascript" src="static/PCSelectType.js"></script>
    <script type="text/javascript" src="static/Operation.js"></script>
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript">
        $(function () {

            //tabs 选项卡
            $.Huitab("#tab-Base>.tabBar>span", "#tab-Base>.tabCon", "current", "click", "0");
            $.Huitab("#myTab>.tabBar>span", "#myTab>.tabCon", "current", "click", "0");

            //图片上传 特效
            $.Huihover(".portfolio-area li");

            var uri = document.location.search;//接收页面传值
            var i = uri.lastIndexOf("?") + 1;//获取问号前面的值
            var substrid = uri.substr(i);//截取问号前面的值
            $(".P_ReportNumber1").empty();//清空面包屑导航的值
            $(".P_ReportNumber1").html(substrid);//给面包屑导航赋值



            $("#MyQuanShu>tbody>tr").click(function () {
                $("#MyQuanShuMx>tbody").empty();
                var html = ' <tr><td>房屋产别</td><td>私有产</td></tr>';
                $("#MyQuanShuMx>tbody").append(html);
            })


            //图片的回传显示
            $.ajax({
                type: "get",
                url: ApiUrl + "api/SitePicture/Picture",
                //async: false,
                data: {
                    T_ReportNumber: $(".P_ReportNumber1").html()
                },
                success: function (data, status) {
                    $(data).each(function (i, item) {
                        $("#" + item.SP_Addr + "").html('<img id="image"  src="' + ApiUrl + item.SP_Picturename + '" />');
                        //   document.getElementById(item.SP_Addr).innerHTML = '<img id="image"  src="' + item.SP_Picturename + '" />';
                    })
                },
                error: function (e) {
                    layer.msg('服务器链接超时!', { icon: 2, time: 5000 });
                },
                complete: function () {

                }
            })


        });
        /*选择估计师*/
        function admin_Show(title, url) {
            parent.layer_show(title, url, '360', '300');
        }
        window.onload = function () {

            var result = document.getElementById("result");

        }
        //上传控件的触发方法
        function add(file, a) {
            var prevDiv = document.getElementById('preview' + a);

            if (file.files && file.files[0]) {
                var filetype = file.files[0];
                if (!/image\/\w+/.test(filetype.type)) {
                    alert("文件必须为图片！");
                    return false;
                }
                else {
                    var reader = new FileReader();
                    reader.onload = function (evt) {
                        prevDiv.innerHTML = '<img id="image"  src="' + this.result + '" />';
                        result.value = this.result;//把文件的结果值
                        // var ns = document.getElementById('preview' + a).nextElementSibling;   //获得s的下一个兄弟节点
                        $.ajax({
                            type: "POST",
                            url: ApiUrl + "api/SitePicture/AddSitePicture",
                            data: {
                                SP_Pictureurl: result.value,
                                SP_ptype: ".jpg",
                                P_ReportNumber: $(".P_ReportNumber1").html(),
                                SP_Addr: 'preview' + a
                                //SP_Picturename: ns.innerText
                            },//所有上传文件统一为此对象。result.value 不再截取。type 为文件类型，带.
                            success: function (data) {
                                switch (data) {
                                    case -2: layer.msg('修改失败!', { icon: 2, time: 5000 }); break;
                                    case -1: layer.msg('上传图片失败!', { icon: 2, time: 5000 }); break;
                                    case 0: layer.msg('服务器连接失败!', { icon: 2, time: 5000 }); break;
                                    case 1: layer.msg('上传成功!', { icon: 1, time: 5000 }); break;
                                    case 2: layer.msg('修改成功!', { icon: 1, time: 5000 }); break;
                                }

                            },
                            error: function (XMLHttpRequest, textStatus, errorThrown) {
                                layer.msg('服务器连接失败!', { icon: 2, time: 5000 })
                            }
                        });

                    }
                    reader.readAsDataURL(file.files[0]);
                }

            }
            else {
                prevDiv.innerHTML = '<div class="img" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src=\'' + file.value + '\'"></div>';
            }
        }
    </script>
    <!--/请在上方写此页面业务相关的脚本-->
    <!--预览图片-->
    <style type="text/css">
        #preview, .img, img {
            width: 150px;
            height: 125px;
        }
    </style>
</body>
</html>